{% extends "blog/thinkerMdBase.html" %}
{% load staticfiles %}
{#<textarea name="content" data-provide="markdown" rows="10" placeholder="这里输入内容,支持Markdown语法.">></textarea>#}
{#<textarea name="comment" id="comment" data-provide="markdown" tabindex="4" rows="8" cols="50" placeholder="输入评论内容......"></textarea>#}
{#<style type="text/css" scoped="scoped">#}
{#    @import "{% static 'blog/thinkerMd/dist/stylesheets/thinker-md.user.css' %}";#}
{#    @import "{% static 'blog/thinkerMd/dist/stylesheets/thinker-md.vendor.css' %}";#}
{#    @import "{% static 'blog/thinkerMd/dist/emoji/nature.css' %}";#}
{#    @import "{% static 'blog/thinkerMd/dist/emoji/object.css' %}";#}
{#    @import "{% static 'blog/thinkerMd/dist/emoji/people.css' %}";#}
{#    @import "{% static 'blog/thinkerMd/dist/emoji/place.css' %}";#}
{#    @import "{% static 'blog/thinkerMd/dist/emoji/Sysmbols.css' %}";#}
{#    @import "{% static 'blog/thinkerMd/dist/emoji/twemoji.css' %}";#}
{#</style>#}
{#<script type="text/javascript" charset="utf-8" src="{% static 'blog/thinkerMd/dist/javascripts/jquery-2.1.3.min.js' %}"></script>#}
{#<script type="text/javascript" charset="utf-8" src="{% static 'blog/thinkerMd/dist/javascripts/thinker-md.vendor.min.js' %}"></script>#}
<script>
    $("textarea[data-provide='markdown']").markdown({
        language: 'zh',
        fullscreen: {
            enable: true
        },
        resize: 'vertical',
        localStorage: 'md',
        imgurl: '/cors/upload/ajaxUpload',
        base64url: '/cors/upload/base64Upload'
    });
</script>
